﻿using Infrastructure;

namespace Domain
{
    public class LibraryAccount : AggregateRoot<UniqueId>
    {
        public LibraryAccount(string number)
            : this(new UniqueId(), number)
        {
        }
        public LibraryAccount(UniqueId id, string number)
            : base(id)
        {
            this.Number = number;
        }

        public string Number { get; private set; }
        public string OwnerName { get; set; }
        public bool IsLocked { get; set; }
    }
}
